<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>display属性</title>
    <style type="text/css">
        .one{
            display: block;
        }
        .three{
            display:inline;
        }
    </style>
</head>
<body>
    <span class="one">第一个</span>
    <span class="two">第二个</span>
    <div class="three">第三个</div>
</body>
</html>